package com.cloud.order;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author yanlong.zhang
 * @since 2019-09-04
 */
@RestController
@RequestMapping("/order")
public class OrderController {

    @Autowired
    OrderSevice orderSevice;

    @GetMapping("/buyFruit")
    public String doT() {
        return orderSevice.orderToBuyFruit();
    }

}
